package con.shopping.entity;

import java.util.Date;
import java.util.List;

/**
 * @author wei.wang
 * @version v1.0
 * @description: 商品类
 * @date 2022/2/13 17:41
 */
public class Goods {

    /**商品名称*/
    private String name;
    /**商品价格*/
    private double price;
    /**商品类型：1电子 2食品 3日用品 4酒类*/
    private int type;

    public Goods(String name, double price, int type) {
        this.name = name;
        this.price = price;
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public double getPrice() {
        return price;
    }

    public int getType() {
        return type;
    }
}